import { MockMethod } from "vite-plugin-mock";

export default [
  {
    url: "/mock/api/vrsite",
    method: "get",
    response: () => {
      return {
        code: 0,
        error: 0,
        errorname: "success",
        data: [
          {
            name: "vben",
            age: 20
          },
          {
            name: "vben2",
            age: 21
          }
        ]
      };
    }
  }
] as MockMethod[];
